package com.hs.srm.admin.modules.pricemanagement.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/*
 *
 */
@Setter
@Getter
@TableName("parity_email")
@ToString
public class ParityEmail implements Serializable {

    private static final long serialVersionUID = 1L;

    public ParityEmail() {
        super();
    }

    /*
     * 主键id
     */
    @TableId(value = "parity_email_id", type = IdType.UUID)
    @TableField("parity_email_id")
    @Excel(name = "主键id", orderNum = "1")
    private java.lang.String parityEmailId;

    /*
     * 收到邮件的供应商名称
     */
    @TableField("parity_email_vendor_name")
    @Excel(name = "收到邮件的供应商名称", orderNum = "2")
    private java.lang.String parityEmailVendorName;

    /*
     * 收到邮件的时间
     */
    @TableField("data")
    @Excel(name = "收到邮件的时间", orderNum = "3")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private java.util.Date data;

    /*
     * 收到的报价单号
     */
    @TableField("parity_email_inquiry_code")
    @Excel(name = "收到的报价单号", orderNum = "4")
    private java.lang.String parityEmailInquiryCode;

    @TableField("parity_email")
    @Excel(name = "邮箱", orderNum = "5")
    private String parityEmail;

    /**
     * 邮件内容
     */
    @TableField("email_content")
    @Excel(name = "邮件内容", orderNum = "6")
    private String emailContent;

}
